package com.my.biao.util;

import android.util.Log;

/**
 * 项目名称：Log 工具类
 * 创建人：mwb
 * 创建时间：2018/10/16 15:37
 */
public class LogUtil {
    /**
     * 开发时设为true,发布设置为flase
     */
    public static boolean loginShow = true;
    public static String TAG = "mwb";

    public static void i(String msg) {
        if (loginShow) {
            Log.i(TAG, msg);
        }
    }

    public static void d(String msg) {
        if (loginShow) {
            Log.d(TAG, msg);
        }
    }

    public static void e(String msg) {
        if (loginShow) {
            Log.e(TAG, msg);
        }
    }
}
